package org.jeecg.modules.room.service;

import org.jeecg.modules.room.entity.RoomRegisterInfoMx;
import org.jeecg.modules.room.entity.RoomRegisterInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 登记单信息主表
 * @Author: jeecg-boot
 * @Date:   2024-01-08
 * @Version: V1.0
 */
public interface IRoomRegisterInfoService extends IService<RoomRegisterInfo> {

	/**
	 * 添加一对多
	 *
	 * @param roomRegisterInfo
	 * @param roomRegisterInfoMxList
	 */
	public void saveMain(RoomRegisterInfo roomRegisterInfo, List<RoomRegisterInfoMx> roomRegisterInfoMxList) ;
	
	/**
	 * 修改一对多
	 *
   * @param roomRegisterInfo
   * @param roomRegisterInfoMxList
	 */
	public void updateMain(RoomRegisterInfo roomRegisterInfo, List<RoomRegisterInfoMx> roomRegisterInfoMxList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain(String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain(Collection<? extends Serializable> idList);
	
}
